package com.justin;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;

@Slf4j
@SpringBootApplication
public class JustinThreadApplication {

    public static void main(String[] args) {
        SpringApplication.run(JustinThreadApplication.class, args);
        log.info("启动【线程学习】服务成功 " + ZonedDateTime.now().format(DateTimeFormatter.ISO_LOCAL_DATE_TIME.withZone(ZoneId.systemDefault())));
    }

}
